package com.ktmall.ktmalluijava.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/5/20 上午8:58
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class OrderVO {
    private Integer id ; //订单编号
    private String orderSn; //订单流水号
    private Integer userId; //微信用户id
    private Integer orderState; //订单状态 1.待付款 2，待发货 3.待收货 4.待评价 5.已完成 6.已取消
    private String expressCompany ; //快递公司
    private String expressNumber; //快递单号
    private BigDecimal expressCost ; //快递费用
    private BigDecimal orderPrice ; //订单总价
    private String memberName; //会员名
    private  String telNumber; //联系电话
    private String fullLocation; //收货地址
    private String detail; //详细地址
    private String userName; //收货人
    private String payTime ; //付款时间
    private BigDecimal actualPrice ; //实际支付金额
    private String createTime; //创建时间
    private String updateTime; //修改时间

    @Override
    public String toString() {
        return "OrderVO{" +
                "id=" + id +
                ", orderSn='" + orderSn + '\'' +
                ", userId=" + userId +
                ", orderState=" + orderState +
                ", expressCompany='" + expressCompany + '\'' +
                ", expressNumber='" + expressNumber + '\'' +
                ", expressCost=" + expressCost +
                ", orderPrice=" + orderPrice +
                ", memberName='" + memberName + '\'' +
                ", telNumber='" + telNumber + '\'' +
                ", fullLocation='" + fullLocation + '\'' +
                ", detail='" + detail + '\'' +
                ", userName='" + userName + '\'' +
                ", payTime='" + payTime + '\'' +
                ", actualPrice=" + actualPrice +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
